package com.iwhalecloud.citybrain.flow.platform.manager.application.service.impl;

import org.flowable.engine.impl.persistence.entity.ExecutionEntity;

public interface MultiExecutionCompletedProcessor {

    void process(ExecutionEntity executionEntity) throws Exception;

    /**
     * 回滚待办任务
     *
     * @param executionEntity
     * @param taskLinkStatus
     * @param taskNodeType
     * @throws Exception
     */
    void rollbackTask(ExecutionEntity executionEntity, String taskLinkStatus, String taskNodeType) throws Exception;
}
